/**
 * 活动首页
 */
import React from "react";
import {Link} from "react-router";
import Tool from '../components/tool';
export default class ShakeSplash extends React.Component {
    constructor(...props) {
        super(...props);
        this.state = {
            boxHeight: document.documentElement.clientHeight
        };
    }

    componentDidMount() {
		Tool.setPageTitle('参与活动');
    }

    render() {
        return (
            <div className="site-shake-splash pages" style={{height: this.state.boxHeight}}>
                <div className="content">
                    <div className="banner">
                        <Link to="/shake" className="btn-shake">shake</Link>
                    </div>
                    <div className="tips"></div>
                    <div className="gift">
                        <Link to="/shake" className="components btn-red btn-join">参与活动</Link>
                        <div className="link-list">
                            <Link to="/activity">活动介绍</Link>
                            <Link to="/safe">安全保障</Link>
                            <Link to="/award">领取奖品</Link>
                        </div>
                    </div>
                </div>
            </div>
        )
    }
}